import React from 'react';

import './index.less';
import { Space } from '@nutui/nutui-react';
import Swipers from './Swipers';
import { useSelector } from 'react-redux';
import ShopInfo from './ShopInfo';
import ServiceInfo from './ServiceInfo';

const IndexViews = () => {
    const { shopInfo } = useSelector((state) => state.shop);
    return (
        <div className="layout-content">
            <Space direction="vertical">
                <Swipers />
                <ShopInfo shopInfo={shopInfo} />
                <ServiceInfo />
            </Space>
        </div>
    );
};

export default IndexViews;
